import xml.utils.*;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.SQLException;

import javax.sql.rowset.WebRowSet;

public interface AccessDBInterface extends Remote{
	public WebRowSet GetTable(String tableName) throws RemoteException;
	public int ExecUpdateSQL(String sql)throws RemoteException;
	public WebRowSet ExecQuerySQL(String sql) throws RemoteException;
	public void stopConnection() throws SQLException,RemoteException;
	public int checkLoginInformation(String strUsername, String strPassword, int iServer) throws RemoteException;
}  
